<%@ include file="/WEB-INF/jsp/includes.jsp" %>
<%@ include file="/WEB-INF/jsp/header.jsp" %>

<img src="<spring:url value="/images/greenback1.jpg" htmlEscape="true" />" align="right" style="position:relative;right:20px;">
<h2>Welcome to<span style="font-style: italic;">THE SIXTH SENSE!</span></h2>

<p style="color: red; font-size: 9px;">${msg}</p>

<ul>

<c:choose>
<c:when test="${ me != null }">
<li><a href="<spring:url value="/updateMyInfo" htmlEscape="true" />">Update My Status/Information</a>
<ul><li>To share my information, to all my friends.</li></ul>
</li>
<li><a href="<spring:url value="/buddys" htmlEscape="true" />">Display My Buddies (${my_buddies_count})</a>
<ul><li>To display your buddies in lists.</li>
<li>Including: buddy list and black list.</li></ul>
</li>
<li><a href="<spring:url value="/buddyRequests" htmlEscape="true" />">Pending Request for Buddy (${pending_buddy_req_count})</a>
<ul><li>To know who want to be my friend :></li>
<li>Including: pending requests and historical requests.</li></ul>
</li>
</c:when>
<c:otherwise>
<li>Please <a href="<spring:url value="/login" htmlEscape="true" />">Login</a> or <a href="<spring:url value="/register" htmlEscape="true" />">Register</a> frist :)
</li>
</c:otherwise>
</c:choose>
<div style="height:20px; width:300px;"></div>   
<li><a href="<spring:url value="/findPeopleAround" htmlEscape="true" />">Find Person Around (${online_person_count})</a>
<ul><li>To present people around.</li></ul>
</li>
<li><a href="<spring:url value="/persons" htmlEscape="true" />">Display All Person (${online_person_count})</a>
<ul><li>To present available people in database.</li></ul>
</li>
</ul>

<%@ include file="/WEB-INF/jsp/footer.jsp" %>
